﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.Model.Entitys
{
    /// <summary>
    /// 物料表
    /// </summary>
    public class Material
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [Column("id")]
        public int Id { get; set; }
        [Column("materialId")]
        public string MaterialId { get; set; }
        [Column("name")]
        public string MaterialName { get; set; }
        [Column("processId")]
        public string ProcessId { get; set; }
        [Column("createTime")]
        public DateTime CreateTime { get; set; }
        [Column("updateTime")]
        public DateTime UpdateTime { get; set; }
    }
}
